#ifndef SDKELI_LS_COMMON_MOCKUP__
#define SDKELI_LS_COMMON_MOCKUP__

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <std_msgs/String.h>

#include "sdkeli_ls_common.h"

namespace sdkeli_ls
{
	class CSDKeliLsCommonMockup : public CSDKeliLsCommon
	{
		public:
			CSDKeliLsCommonMockup(CParserBase *pParser);
			virtual ~CSDKeliLsCommonMockup();

		protected:
			virtual int InitDevice();
			virtual int InitScanner();
			virtual int CloseDevice();

			virtual int SendDeviceReq(const char *req, std::vector<unsigned char> *resp);
			virtual int GetDataGram(unsigned char *receiveBuffer, int bufferSize, int *length);

		private:
			ros::NodeHandle nhMockup;
			ros::Subscriber subMockup;

			std_msgs::String::ConstPtr ptrMsgMockupData;
			void OnMockupMessage(const std_msgs::String::ConstPtr &msg);
	}; /*class CSDKeliLsCommonMockup*/
}
#endif /*SDKELI_LS_COMMON_MOCKUP__*/
